package org.jeecg.glr.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.glr.entity.GlrSensorSet;

/**
 * @Description: 参数设置
 * @Author: jeecg-boot
 * @Date:   2020-07-30
 * @Version: V1.0
 */
public interface GlrSensorSetMapper extends BaseMapper<GlrSensorSet> {
    @Select("select * from glr_sensor_set where status='Y' order by create_time desc LIMIT 1")
    public GlrSensorSet getSenSorSetByStatus();


    @Select("${sql}")
    public void startUsing(@Param("sql")String sql);
}
